package com.zijing2333.adaptivescheduling.criticalNodeJudgment;

class DataAccessObject {

    /**
     * rqlite database host
     */
    protected String host;

    /**
     * default port is 4001
     */
    protected int port = 4001;

    /**
     * rqlite defined the query address<br>
     * query : db/query<br>
     * update : db/execute
     */
    protected String queryTarget;

    public DataAccessObject(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public DataAccessObject(String host) {
        this.host = host;
    }
}


